
@import './modules/reset';
@import  './modules/header';
@import  './modules/footer';


// 轮播图
.swiper{
	position: relative;
	margin-top: 30px;
	.swiper-container {
		width: 1000px;
		height: 475px;
		img{
			width: 100%;
			height: 100%;
		}
		
		.swiper-button{
			color: rgba(0,0,0,.9);
			width: 60px;
			height: 60px;
			text-align: center;
			border-radius: 50%;
			&:hover{
				background-color: white;
				opacity: .5;
			}
		}
	}  
	#changeSwiper.swiper-pagination{
		// bottom: -30px;
		width: 400px;
		height: 20px;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		margin: 0 auto;
		top: 480px;
		span{
			width: 30px;
			height: 5px;
			background-color: rgba(1,1,1,.6);
			border-radius: 0;
			margin: 0 5px;
		}
	}
}

.picCont{
	width: 1000px;
	height: 405px;
	margin: 50px auto;
	display: flex;
	justify-content: space-between;
	div{
		width: 317px;
		float: left;
	}
	
	.left{
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		
	}
	.mid{
		// margin: 0 23px;
		height: 100%;
		overflow: hidden;
		img{
			height: 100%;
		}
	}
	.right{
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}
	.top, .bott{
		width: 100%;
		height: 190px;
		overflow: hidden;
		img{
			width: 100%;
			height: 100%;
		}
	}
}

// 人气良品
.hotGoods{
	width: 1000px;
	margin: 10px auto;
	margin-bottom: 60px;
	
	>p{
		width: 100%;
		height: 30px;
		text-align: center;
		border-bottom: 1px solid #ccc;
		font-size: 12px;
		margin-bottom: 30px;
	}
	
	ul{
		width: 100%;
		li{
			width: 316px;
			height: 366px;
			margin-bottom: 30px;
			float: left;
			margin-right: 17px;
			
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			
			position: relative;
			
			&:hover .coverInfo{
				display: block;
			}
			
			.coverInfo{
				display: none;
				cursor: pointer;
				position: absolute;
				left: 0;
				top: 0;
				width: 316px;
				height: 315px;
				background-color: rgba(1,1,1,.7);
				a{
					width: 100%;
					height: 100%;
					overflow: hidden;
					display: block;
					text-decoration: none;
					p.money{
						font-size: 20px;
						color: #0c6eba;
						margin-left: -70px;
						margin-top: 25px;
						font-style: italic;
					}
					
					p{
						margin: 0px auto;
						text-align: center;
						color: #fff;
						width: 85%;
						height: 25px;
						line-height: 20px;
						vertical-align: middle;
						overflow: hidden;
						white-space: nowrap;
						text-overflow: ellipsis;
						font-weight: bold;
						margin-top: 12px;
						&.tle{
							margin-top: 80px;
							font-size: 14px;
						}
						
						&.desc{
							font-size: 12px;
							font-weight: 100;
							margin-top: 5px;
							white-space: normal;
							height: auto;
						}
						
						    
					}
				}
				
			}
			
			
			img{
				width: 100%;
				height: 315px;
			}
			.disc{
				width: 100%;
				height: 40px;
				.who {
				    white-space: nowrap;
				    text-overflow: ellipsis;
				    width: 216px;
				    overflow: hidden;
					img {
					    width: 34px;
					    height: 34px;
					    display: inline-block;
					    vertical-align: middle;
					    margin-right: 10px;
					    background-position: -130px -584px;
					    padding: 0px 6px 6px 0px;
					}
				}
				.goodsFavCount {
				    float: right;
				    padding-right: 30px;
				    background: url(/img/heart.png) no-repeat right center;
				}
				a {
				    display: block;
				    float: left;
				    height: 40px;
				    zoom: 1;
				    line-height: 40px;
				    vertical-align: middle;
				    font-size: 14px;
					text-decoration: none;
					color: #878787;
				}
			}
		}
	}
	
}


// 更多
#pagers{
	text-align: center;
	a{
		    height: 50px;
		    margin: 90px auto 0;
		    width: 148px;
		    clear: both;
		    text-align: center;
			
			background: url(/img/iconAll.png) no-repeat;
		    background-position: 0 -640px;
		    cursor: pointer;
		    display: block;
		    zoom: 1;
			
			&:hover{
				background-position: 0 -688px;
			}
	}
}











